package com.yq.service.dao;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.yq.core.entity.SysRoleEntity;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 信  息: [yinquan] [2017-05-04] [1.0]
 * 描  述: Mapper 接口
 */
@Repository
public interface SysRoleMapper extends BaseMapper<SysRoleEntity, String> {

    /** 角色列表查询 **/
    List<Map<String, Object>> pageRoleList(Map<String, Object> parameter, PageBounds pageBounds);

    /** 所有角色列表查询 **/
    List<Map<String, Object>> pageRoleAllList(Map<String, Object> parameter);

    /** 获取角色权限关联 **/
    List<Map<String, Object>> rolePowerTree(Map<String, Object> parameter);
}